Skip to content

Comments

feat: Allow duplicate output names in root ProjectNode#16500

Closed
mbasmanova wants to merge 1 commit intofacebookincubator:mainfrom
mbasmanova:export-D94146245
Closed

feat: Allow duplicate output names in root ProjectNode#16500
mbasmanova wants to merge 1 commit intofacebookincubator:mainfrom
mbasmanova:export-D94146245

Conversation

@mbasmanova
Copy link
Contributor

Summary:
Allow the root ProjectNode to have duplicate or empty output column names.
This is needed to support SQL queries with duplicate column aliases such as
SELECT a AS x, b AS x. The PlanConsistencyChecker now accepts the root
node ID and skips output name validation for it.

Differential Revision: D94146245

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 43ae5a5
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/699cf5f252a44100086c93da

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 24, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 24, 2026

@mbasmanova has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94146245.

…ator#16500)

Summary:

Allow the root ProjectNode to have duplicate or empty output column names.
This is needed to support SQL queries with duplicate column aliases such as
`SELECT a AS x, b AS x`. The PlanConsistencyChecker now accepts the root
node ID and skips output name validation for it.

Differential Revision: D94146245
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mbasmanova thanks!

@meta-codesync
Copy link

meta-codesync bot commented Feb 24, 2026

This pull request has been merged in b7319c1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants